package bootstrap

import (
	"MoSkeleton/framework"
	"MoSkeleton/global"

	_ "MoSkeleton/bootstrap/internal"
)

func DoSysInit() {
	// 系统初始化
	global.DoInitSystem()
	//framework初始化
	ok := framework.DoInitFramework()
	if !ok {
		panic("系统初始化失败")
	}
	framework.AfterInitFramework()
	global.AfterInitSystem()
}
